JFLAGS = -g
JC = javac
.SUFFIXES: .java .class 
.java.class:
	$(JC) $(JFLAGS) $*.java

CLASSES = \
	controller/TextUI.java \
	controller/StartP2P.java \
	controller/HashTypes.java\
	controller/DataStore.java \
	networkoperations/Replier.java \
	networkoperations/Searcher.java \
	networkoperations/FileSender.java \
	networkoperations/MultiCastListener.java \
	networkoperations/MultiCastReceiver.java \
    
default: classes
	
classes:
	$(JC) $(JFLAGS) $(CLASSES)

clean:
	$(RM) *.class